package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmNewsDto;
import com.heima.model.wemedia.dtos.WmNewsPageReqDto;
import com.heima.model.wemedia.pojo.WmNews;

/**
 * @Description: test
 * @Create by: JJ菜菜
 * @Date: 2022/1/12 23:02
 */
public interface WmNewsService extends IService<WmNews> {
    ResponseResult findAll(WmNewsPageReqDto dto);

    ResponseResult submitNews(WmNewsDto dto);
}
